//
//  QDetailsOrderVC.h
//  QoilPublic
//
//  Created by 杨凯 on 16/7/7.
//  Copyright © 2016年 杨凯. All rights reserved.
//

#import "QBaseVC.h"
#import "QAllorderListModel.h"
@interface QDetailsOrderVC : QBaseVC

typedef NS_ENUM(NSInteger, DetailsOrderStyle) {
    DetailsOrderwaitedStyle,   //待接单 可取消
    DetailsOrderdisPayStyle,   //未付款
    DetailsOrderReceiveStyle,  //待接单
    DetailsOrderfinishStyle,    //已完成
    DetailsOrderevaluateStyle,   //待评价
    DetailsOrderCanceredStyle,   //取消或者作废
};



typedef NS_ENUM(NSInteger,DetailsPushStyle){
    DetailsPushFrontStyle,//回到前面
    DetailsPushRootStyle//回到根视图
};

@property(nonatomic,assign)DetailsOrderStyle detailOrderStyle;

@property(nonatomic,assign)DetailsPushStyle pushStyle;

@property(nonatomic,strong)QAllorderListModel *model;

@property(nonatomic,assign)NSInteger judgeNumber;//判断是否评价 0未评价  1已评价

@property (nonatomic,copy)void(^cancelBlock)();//取消订单后的回调

@property(nonatomic,assign)DetailsOrderStyle style;

//下单传过来orderId
@property(nonatomic,copy)NSString *orderId;


@end
